home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7419 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: mellow1@usa.pipeline.com(tony honer)
  3. Newsgroups: comp.lang.c++
  4. Subject: HELP...I can't fix it!!!!!!!!
  5. Date: 23 Feb 1996 05:31:58 GMT
  6. Organization: Pipeline USA
  7. Message-ID: <4gjjge$f6j@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe3.h1.usa.pipeline.com
  9. X-PipeUser: mellow1
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (tony honer)
  12. X-Newsreader: Pipeline USA v3.4.0
  13.  
  14. O.K.  What I have is a program that is made with struct's, there are no
  15. classes.  This program works great when it is in one program.  But when I
  16. seperate my struct definitions into a header file, and my functions into a
  17. adt file, and write a driver program that calls on the functions in the adt
  18. file. IT DOES NOT WORK.  It compiles like a dream, but when it goes to make
  19. I get a: 
  20.  
  21.      DUPLICATE &OSTREAM CHAR IN FILE @#%$@ 
  22.      DUPLICATE &OSTREAM NUMBER IN FILE @#%@ 
  23.  
  24.   ect,     
  25.  
  26. I get this every time.  I tried not calling any of the routines from my 
  27. main module, all I did was declare a variable of type(defined in header
  28. file) and then called on a main routine in my function file.  This was
  29. after I had written a driver to call on all the individual functions in my
  30. adt, and was rewarded with the above errors.  All of my (I thought,
  31. extremely tricky) efforts have been rewarded with the same errors.     I am
  32. lost.      I've spit my programs before, and never had this problem.  Can
  33. anyone help???      :( 
  34.  
  35.  
  36.  
  37.